package com.huanxing.cloud.security.exception;
/**
 * 验证失败
 *
 * @author lijx
 * @date 2022/6/10
 */
public class InvalidException extends HxExtendOauth2Exception {

  public InvalidException(String msg, Throwable t) {
    super(msg, t);
  }

  @Override
  public String getOAuth2ErrorCode() {
    return "invalid_exception";
  }

  @Override
  public int getHttpErrorCode() {
    return 426;
  }
}
